package com.gugee.tiktok.data.consumer.blogger.core.service;

import com.gugee.tiktok.common.model.mysql.BloggerMain;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class BloggerClient {

    @Autowired
    BloggerService bloggerService;

    public String getBloggerType(long oUid){
        return bloggerService.getBloggerType(oUid);
    }

    public BloggerMain getBloggerMainByOUid(long oUid){
        return bloggerService.getBloggerByOUid(oUid);
    }

    public void saveBloggerMain(BloggerMain bloggerMain){
        bloggerService.saveBloggerMain(bloggerMain);
    }


}
